export const statusOptions = [
    {key: 'PENDING_PAYMENT', display_name: '待付款'},
    {key: 'PENDING_DELIVERY', display_name: '待发货'},
    {key: 'PENDING_RECEIVING', display_name: '待收货'},
    {key: 'PENDING_RETURNED', display_name: '待归还'},
    {key: 'CLOSED', display_name: '已完成'}
];

export const statusKeyValue = statusOptions.reduce((acc, cur) => {
    acc[cur.key] = cur.display_name;
    return acc
}, {});
